<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-2">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">思博源</a>
        </div>

        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2">
            <ul class="nav navbar-nav">
                <li  class="${active == "1" ? "active" : ""}"><a href="/">历史数据 <span class="sr-only">(current)</span></a></li>
                <li class="dropdown ${active == "2" || active == "3" ? "active" : ""}">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">实时数据 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li  class="${active == "2" ? "active" : ""}"><a href="/v/queryNew">最新数据1</a></li>
                        <li  class="${active == "3" ? "active" : ""}"><a href="/data">最新数据2</a></li>
                    </ul>
                </li>


            </ul>
<<<<<<< HEAD
            <ul class="nav navbar-nav navbar-right" >
                <li >
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>${admincode}&nbsp;</a>
                </li>
=======
            <ul class="nav navbar-nav navbar-right">
                <li><a href="javascript:;"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>&nbsp;${admincode}</a></li>
>>>>>>> a2147ebf12ba6da6d788edf8a219155d9c3645c4
            </ul>
        </div>
    </div>
</nav>
